package com.hjq.permissions;

/**
 * 清单注册异常
 */
public class ManifestException extends RuntimeException {
    ManifestException() {
        // 清单文件中没有注册任何权限
        super("No permissions are registered in the config_json file");
    }

    ManifestException(String permission) {
        // 申请的危险权限没有在清单文件中注册
        super(permission + ": Permissions are not registered in the config_json file");
    }
}
